package com.zhiyun.test.base.controller;

import com.zhiyun.test.base.util.DriverUtil;
import org.openqa.selenium.WebDriver;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;

/**
 * Created by user on 2019-5-27.
 */
public class BaseController {
  public WebDriver webDriver;
  @BeforeClass
  public void beforeClass(){
    webDriver = new DriverUtil().getDriver();
  }
  @AfterClass
  public void afterClass(){
    webDriver.close();
  }
}
